home *** CD-ROM | disk | FTP | other *** search
- diff --unified --new-file ../qmail-1.01-unmodified/qmail-smtpd.c ./qmail-smtpd.c
- --- ../qmail-1.01-unmodified/qmail-smtpd.c Tue Apr 15 07:05:23 1997
- +++ ./qmail-smtpd.c Wed Sep 10 12:36:07 1997
- @@ -92,17 +92,6 @@
- dohelo(remotehost);
- }
-
- -void straynewline()
- -{
- - out("451 \
- -Put ,E=\\r\\n at the end of Mether, Mtcp, or Msmtp in sendmail.cf \
- -if you are using Solaris 2.5 (fixed in 2.5.1). \
- -I cannot accept messages with stray newlines. \
- -Many SMTP servers will time out waiting for \\r\\n.\\r\\n.\
- -\r\n");
- - die();
- -}
- -
- void blast(ssfrom,hops)
- substdio *ssfrom;
- int *hops;
- @@ -140,17 +129,14 @@
- switch(state)
- {
- case 0:
- - if (ch == '\n') straynewline();
- if (ch == '\r') { state = 4; continue; }
- break;
- case 1: /* \r\n */
- - if (ch == '\n') straynewline();
- if (ch == '.') { state = 2; continue; }
- if (ch == '\r') { state = 4; continue; }
- state = 0;
- break;
- case 2: /* \r\n + . */
- - if (ch == '\n') straynewline();
- if (ch == '\r') { state = 3; continue; }
- state = 0;
- break;
-